<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/6/2
  Time: 8:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册</title>
    <link rel="stylesheet" href="css/login.css">
    <link rel="stylesheet" href="css/table.css">
</head>
<body>
<form action="${pageContext.request.contextPath}/registerServlet" method="post">
    <div class="da">
        <div class="top">
            <h1>注册</h1>
        </div>
        <div class="low">
            <table>
                <tr>
                    <td class="left"><label for="username">账号</label></td>
                    <td class="right">
                        <input type="text" name="username" id="username" placeholder="请输入账号">
                    </td>
                </tr>
                <tr>
                    <td class="left">
                        <label for="password">密码</label>
                    </td>
                    <td class="right">
                        <input type="password" id="password" name="password" placeholder="请输入密码">
                    </td>
                </tr>
                <tr>
                    <td class="left">
                        <label for="confirm">确认密码</label>
                    </td>
                    <td class="right">
                        <input type="password" id="confirm" name="confirm" placeholder="请再次输入密码">
                    </td>
                </tr>
                <tr>
                    <td class="left">
                        <label for="name">姓名</label>
                    </td>
                    <td class="right">
                        <input type="text" id="name" name="name" placeholder="请输入姓名">
                    </td>
                </tr>
                <tr>
                    <td class="left">
                        <label for="sex">性别</label>
                    </td>
                    <td class="right">
                        <input type="radio" id="sex" name="sex" value="男">男
                        <input type="radio" name="sex" value="女">女
                    </td>

                </tr>
                <tr>
                    <td class="left">
                        <label for="age">年龄</label>
                    </td>
                    <td class="right">
                        <input type="text" id="age" name="age" placeholder="请输入年龄">
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="login">
                        <input type="submit" value="注册">
                        <a href="${pageContext.request.contextPath}/index.jsp">返回</a>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</form>
</body>
</html>
